package cn.manter.basic.constant;
/**
 * @Description: 公共的常量类
 * @Author: Mr.Zhao
 * @Version: 1.0
 * @Date:  2022/7/6 0006 11:49
 */
public class BaseConstants {
    // 短信平台的常量类
    public class SmsConstant {
        // 用户名
        public static final String SMS_UID = "Fairy_wen";
        // 短信密钥
        public static final String SMS_KEY = "5F93FB806AF6175264777EC670AFCC16";
    }


    // 注册相关的常量类
    public class VerifyCodeConstant {

        // 注册时的手机验证码常量
        public static final String BUSINESS_REGISTER_KEY = "register:";

        // 登录时的手机验证码常量
        public static final String BUSINESS_LOGIN_KEY = "login:";

        public static final String BUSINESS_BINDER_KEY = "binder:";

    }


    // 注册相关的常量类
    public class WechatConstant {

        // 获取access_token的URL地址
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
        public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";

        // 微信的appId
        public static final String APPID = "wxd853562a0548a7d0";

        // 微信的密钥
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
    }
}
